<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <link rel="stylesheet" type="text/css" href="js/layui/css/layui.css"/>
    <link rel="stylesheet" type="text/css" href="css/blogManage.css"/>
    <script src="js/layui/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="js/layui/layui.all.js" type="text/javascript" charset="utf-8"></script>
    <script src="js/loginjs/cunchu.js"></script>
    <script src="js/blogManage.js" type="text/javascript" charset="utf-8"></script>
    <script src="js/article-delete.js" type="text/javascript" charset="utf-8"></script>
</head>

<style type="text/css">
    body{
        padding:0;
        margin:0;
        background:url(images/suya.jpeg) no-repeat;
        background-size:100% 100%;
    }
</style>
<body>
<table id="demo" lay-filter="test"></table>
<script type="text/html" id="header">
    <div class="layui-form-item">
        <label class="layui-form-label">关键字</label>
            <input type="text" name="title" placeholder="请输入关键字查询" autocomplete="off " id="text" class="layui-input">
            <button onclick="search()" id="sousuo" class="layui-icon layui-icon-search"></button>
    </div>
</script>
<script type="text/html" id="titleTpl">
    <div class="layui-container">
        <div class="layui-row">
            <div class="layui-col-md1" >
                1/12内容
            </div>
            <div class="layui-col-md9" >
                <table>
                    <tr>
                        <td>
                            <a title="http://localhost:2233/adview/articleDetails.html?article_id={{d.article_id}}&article_url={{d.article_url}}"  href="http://localhost:2233/adview/articleDetails.html?article_id={{d.article_id}}&article_url={{d.article_url}}">
                                <h3 style="text-decoration:underline">【{{d.article_kind.kind_name}}】{{=d.article_title}}</h3>
                            </a>
                        </td>
                    </tr>
                    <tr>
                        <td class="messages">{{= d.article_mdContent}}</td>
                    </tr>
                    <tr>
                        <td>
                            <img style="width: 24px;height: 24px;border-radius: 50%;overflow: hidden;"
                                 src="{{d.user.user_userface}}"/>{{= d.user.user_nickname}}
                            <span style="float: right" class="layui-icon layui-icon-praise">{{= d.article_artileClickSum}}
								<a title="删除文章" style="padding-left: 4px;" class="layui-icon layui-icon-delete"
                                   href="javascript:" onclick="deleteArticle({{d.article_id}})"></a>
							</span>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="layui-col-md2" >
                2/12内容
            </div>
        </div>
    </div>
</script>
</body>

</html>
